home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / ODF-Interest@CILabs.ORG < prev    next >
Encoding:
Internet Message Format  |  1996-07-25  |  726 b   |  [TEXT/ttxt]

  1. Subject:     ODF-Interest@CILabs.ORG
  2. Sent:        7/25/96 5:27 AM
  3. Received:    7/25/96 12:41 PM
  4. From:        Keith Mortensen, morty@scruznet.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I am writing a ODF part only for the Macintosh -
  9.  
  10. Is there any way to make Mac Toolbox drawing calls (FrameRect, 
  11. FillCRect...) to the graphics subsystem of ODF?
  12.  
  13. Specifically, I want to call FillCRect() with a given PixPatHandle.
  14.  
  15. If this isn't possible, would I have to create a shape to render with 
  16. into a FW_CGraphicContext?  This would require translating a PixPatHandle 
  17. into FW_CPattern.
  18. Has anyone done this before?
  19. Is there a better way?
  20.